import Mock from 'mockjs';
import banner from "./banner.json"
import floor from "./floor.json"
import address from "./address.json"

//Mock提供一个方法是mock 可以设置接口和对应的数据
Mock.mock("/mock/banner", {
  code: 200,
  data: banner
})

Mock.mock("/mock/floor", {
  code: 200,
  data: floor
})

Mock.mock("/mock/address", {
  code: 200,
  data: address
})